package com.example.im.ws;

import lombok.Data;

/**
 * @ClassName MsgData
 * @Description web与client通信传递的数据格式.
 * @Author guchuanhang
 * @date 2025/1/25 13:58
 * @Version 1.0
 **/

@Data
public class MsgData {
    private int type;
    private String sessionId; //pc会话ID
    private String fileId; //文件ID

    public MsgData(int type, String sessionId, String fileId) {
        this.type = type;
        this.sessionId = sessionId;
        this.fileId = fileId;
    }

    public MsgData() {

    }
}